package cn.shop.alibaba.mapper;

import cn.shop.alibaba.beans.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

public interface ProductMapper extends BaseMapper<Product> {

    int updateProductStockByid(@Param("count") Integer count, @Param("pid") Long pid);

}
